﻿using System;
using System.Collections.Generic;
using FreeSql.DataAnnotations;

namespace QuDao
{
	public class TenantDto
	{
		/// <summary>
        /// 租户ID
        /// </summary>
		public int TenantID { get; set; }
		
		/// <summary>
        /// 租户名称
        /// </summary>
		public string TenantName { get; set; }
		
		/// <summary>
        /// 联系人
        /// </summary>
		public string Linkman { get; set; }
		
		/// <summary>
        /// 联系电话
        /// </summary>
		public string Phone { get; set; }
		
		/// <summary>
        /// 手机号码
        /// </summary>
		public string Mobile { get; set; }
		
		/// <summary>
        /// 地址
        /// </summary>
		public string Address { get; set; }
		
		/// <summary>
        /// A级会员折扣
        /// </summary>
		public decimal MADiscount { get; set; }
		
		/// <summary>
        /// B级会员折扣
        /// </summary>
		public decimal MBDiscount { get; set; }
		
		/// <summary>
        /// C级会员折扣
        /// </summary>
		public decimal MCDiscount { get; set; }
		
		/// <summary>
        /// A级会员别名
        /// </summary>
		public string MAName { get; set; }
		
		/// <summary>
        /// B级会员别名
        /// </summary>
		public string MBName { get; set; }
		
		/// <summary>
        /// C级会员别名
        /// </summary>
		public string MCName { get; set; }
		
		/// <summary>
        /// 业绩提成比例
        /// </summary>
		public decimal CommissionRatio { get; set; }
		
		/// <summary>
        /// 业绩提成标志：0-没有业绩提成，1-团队业绩提成，2-区域业绩提成
        /// </summary>
		public int CommissionFlag { get; set; }
		
		/// <summary>
        /// 直推奖励比率
        /// </summary>
		public decimal L1Ratio { get; set; }
		
		/// <summary>
        /// 间推奖励比率：计算字段，值为1-直推奖励比率
        /// </summary>
		public decimal L2Ratio { get; set; }

        /// <summary>
        /// 合作快递公司：多个快递公司用竖杠“|”分割
        /// </summary>
        public string ExpressCompanyList { get; set; }

        ///// <summary>
        ///// 创建时间
        ///// </summary>
        //public DateTime CreateTime { get; set; }
		
				
	}
	
	public class TenantAddDto
	{
		/// <summary>
        /// 租户名称
        /// </summary>
		public string TenantName { get; set; }
		
		/// <summary>
        /// 联系人
        /// </summary>
		public string Linkman { get; set; }
		
		/// <summary>
        /// 联系电话
        /// </summary>
		public string Phone { get; set; }
		
		/// <summary>
        /// 地址
        /// </summary>
		public string Address { get; set; }
		
		/// <summary>
        /// A级会员折扣
        /// </summary>
		public decimal MADiscount { get; set; }
		
		/// <summary>
        /// B级会员折扣
        /// </summary>
		public decimal MBDiscount { get; set; }
		
		/// <summary>
        /// C级会员折扣
        /// </summary>
		public decimal MCDiscount { get; set; }
		
		/// <summary>
        /// A级会员别名
        /// </summary>
		public string MAName { get; set; }
		
		/// <summary>
        /// B级会员别名
        /// </summary>
		public string MBName { get; set; }
		
		/// <summary>
        /// C级会员别名
        /// </summary>
		public string MCName { get; set; }
		
		/// <summary>
        /// 业绩提成比例
        /// </summary>
		public decimal CommissionRatio { get; set; }
		
		/// <summary>
        /// 业绩提成标志：0-没有业绩提成，1-团队业绩提成，2-区域业绩提成
        /// </summary>
		public int CommissionFlag { get; set; }
		
		/// <summary>
        /// 直推奖励比率
        /// </summary>
		public decimal L1Ratio { get; set; }
		
		/// <summary>
        /// 间推奖励比率：计算字段，值为1-直推奖励比率
        /// </summary>
		public decimal L2Ratio { get; set; }

		/// <summary>
		/// 微信小程序AppID
		/// </summary>
		public string WxAppID { get; set; }

		/// <summary>
		/// 微信小程序APPSecret
		/// </summary>
		public string WxAppSecret { get; set; }

		/// <summary>
		/// 合作快递公司：多个快递公司用竖杠“|”分割
		/// </summary>
		public string ExpressCompanyList { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Memo { get; set; }
		
				
	}
	
	public class TenantModifyDto : TenantAddDto
	{
		/// <summary>
		/// 主键ID
		/// </summary>
		public int TenantID { get; set; }
	}
	
	public class TenantDetailsDto : Tenant
	{
	}
	
}